﻿using System;
using System.Collections.Generic;
using FreeSql.DataAnnotations;

namespace QuDao
{
    public class VideoDto
    {
        /// <summary>
        /// 视频ID
        /// </summary>
        public int VideoID { get; set; }

        /// <summary>
        /// 租户ID
        /// </summary>
        public int TID { get; set; }

        /// <summary>
        /// 商品ID
        /// </summary>
        public int GoodsID { get; set; }

        /// <summary>
        /// 封面Url
        /// </summary>
        public string CoverUrl { get; set; }

        /// <summary>
        /// 视频Url
        /// </summary>
        public string VideoUrl { get; set; }

        /// <summary>
        /// 文件大小
        /// </summary>
        public int FileSize { get; set; }


    }

    public class VideoAddDto
    {
        
        /// <summary>
        /// 商品ID
        /// </summary>
        public int GoodsID { get; set; }

        /// <summary>
        /// 封面Url
        /// </summary>
        public string CoverUrl { get; set; }

        /// <summary>
        /// 视频Url
        /// </summary>
        public string VideoUrl { get; set; }

        /// <summary>
        /// 文件大小
        /// </summary>
        public int FileSize { get; set; }

        /// <summary>
        /// 排序标志：值大的排前面
        /// </summary>
        public int SortFlag { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Memo { get; set; }


    }

    public class VideoModifyDto : VideoAddDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int VideoID { get; set; }
    }

    public class VideoDetailsDto : Video
    {
    }

}